package com.ybb.vue.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ybb.vue.domain.dto.EpmLineChartDto;
import com.ybb.vue.domain.vo.EpmStatisticsLineTodayDataVo;
import com.ybb.vue.entity.EpmAlarmNotes;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author apple
* @description 针对表【epm_alarm_notes(防疫管理_告警记录)】的数据库操作Mapper
* @createDate 2023-03-25 16:20:27
* @Entity com.ybb.vue.entity.EpmAlarmNotes
*/
public interface EpmAlarmNotesMapper extends BaseMapper<EpmAlarmNotes> {

    // 查询当天的健康码异常居民
    List<Integer> selectExpResidentToday();

    // 查询历史的健康码异常居民
    List<Integer> selectExpResidentHistory();

    // 查询当天某个时间段的数据
    List<EpmStatisticsLineTodayDataVo> selectLineData(@Param("epmLineChartDto") EpmLineChartDto epmLineChartDto);

    // 查询当天某个时间段的数据
    List<EpmStatisticsLineTodayDataVo> selectLineDataHistory(@Param("epmLineChartDto") EpmLineChartDto epmLineChartDto);

}
